package com.yunxi.service.localService.activiti;


import com.yunxi.activiti.pojo.ActivitiTypeVO;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.model.activiti.ActivitiType;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;


/**
 * Created by Administrator on 2018/1/25.
 */
public interface ActivitiTypeService extends IServicePlus<ActivitiType> {
    @Transactional(timeout = 5000,readOnly = true)
    List<ActivitiTypeVO> findActivitiTypesList();

    @Transactional(timeout = 5000,readOnly = true)
    ActivitiTypeVO findByFromType(String fromType);

    @Transactional(timeout = 5000,readOnly = true)
    List<ActivitiTypeVO> listCas(Map<String, Object> map);
}
